package com.qianyu.project.entity;

import java.math.BigDecimal;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 设备维保明细
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DeviceMaintainList implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 设备计划ID
     */
    private Integer dPlanId;

    /**
     * 设备材料ID
     */
    private Integer materialId;

    /**
     * 维保内容
     */
    private String maintainContent;

    /**
     * 工时数
     */
    private Integer workHour;

    /**
     * 人工合价
     */
    private BigDecimal laborFee;

    /**
     * 材料合价
     */
    private BigDecimal materialFee;

    /**
     * 小计
     */
    private BigDecimal sumAmount;
    @TableField(exist = false)
    private String materialName;
    @TableField(exist = false)
    private String unitModel;
    @TableField(exist = false)
    private String unit;

}
